<template>
  <div v-show="show" class="subComponent">hello</div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
  components: {},
  props: ["show"],
  data() {
    return {};
  },
  methods: {},
});
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.subComponent {
  color: blue;
  width: 20px;
}
</style>
